package com.sardine.base.hbase.session;

import com.sardine.base.hbase.HBaseConfiguration;
import com.sardine.base.hbase.session.defaults.DefaultHBaseSessionFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 上海京东到家元信信息技术有限公司<br>
 * Created with IntelliJ IDEA.
 * Date:2017/11/21
 * Time:10:11
 *
 * @author daifeng<br>
 *         daifeng@imdada.cn
 * @since JDK 1.7 <br>
 * Copyright (c) 2017 imdada System Incorporated All Rights Reserved.
 */
public class HBaseSessionFactoryBuilder {
    private static final Logger logger = LoggerFactory.getLogger(HBaseSessionFactoryBuilder.class);

    public HBaseSessionFactory build(HBaseConfiguration config) {
        logger.info("构建默认的 DefaultHBaseSessionFactory 完成");
        return new DefaultHBaseSessionFactory(config);
    }
}
